<script setup lang="ts">
import { computed } from '@vue/reactivity';
import {useStore} from 'vuex'
const store = useStore()
const count  = computed(()=>{
  return store.state.count
})
const increment = ()=>{
  store.commit('increment')
}

</script>

<template>
  <button @click="increment">{{count}}</button>
  <el-button>elementPlus</el-button>
</template>

<style scoped>

</style>
